projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ee99e
)
Stefan Monnier <monnier at iro.umontreal.ca>
author
Glenn Morris
<rgm@gnu.org>
Sat, 28 Apr 2007 20:39:11 +0000
(20:39 +0000)
committer
Glenn Morris
<rgm@gnu.org>
Sat, 28 Apr 2007 20:39:11 +0000
(20:39 +0000)
(c-before-change): Use point-min rather than 1.
lisp/progmodes/cc-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-mode.el
b/lisp/progmodes/cc-mode.el
index c3c17a6f3c528e12caa472693dc63e0f7d9a9331..390d49eaea41998b182cc4ed8bdf1ac4440c56e9 100644
(file)
--- a/
lisp/progmodes/cc-mode.el
+++ b/
lisp/progmodes/cc-mode.el
@@
-522,7
+522,7
@@
preferably use the `c-mode-menu' language constant directly."
(setq lim (max (point-min) (1- (point))))
;; Look for the latest `c-type' property before end1
- (when (and (> end1
1
)
+ (when (and (> end1
(point-min)
)
(setq type-pos
(if (get-text-property (1- end1) 'c-type)
end1